lib/repo-pull: Add more debugging on pull failure
authorPhilip Withnall <withnall@endlessm.com>
Mon, 21 May 2018 15:01:13 +0000 (16:01 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 24 Sep 2019 13:36:59 +0000 (13:36 +0000)
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1925
Approved by: cgwalters

src/libostree/ostree-repo-pull.c

index 3adaa477686c068456ec239e030f0005ea57b63d..ba6e72891e55a02f9da27d69bb724d98ebd44d51 100644 (file)
@@ -385,6 +385,8 @@ check_outstanding_requests_handle_error (OtPullData          *pull_data,
   GError *error = *errorp;
   if (error)
     {
+      g_debug ("Request caught error: %s", error->message);
+
       if (!pull_data->caught_error)
         {
           pull_data->caught_error = TRUE;